//
//  RSSingleLineCell.h
//  iAccountBook
//
//  Created by 侯伟 on 2020/2/20.
//  Copyright © 2020 侯伟. All rights reserved.

//  单行点击的item带右侧更多箭头

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface RSSingleLineCell : MyRelativeLayout

/// 标题
@property(nonatomic,copy,nullable)NSString* title;

/// 默认 COLOR_GRAY_DARK
@property(nonatomic,strong)UIColor* titleColor;

/// 默认 FONT_FIT(14)
@property(nonatomic,strong)UIFont* titleFont;

/// 占位文本
@property(nonatomic,copy)NSString* placehodler;

/// 显示文本 居右显示
@property(nonatomic,copy,nullable)NSString* subtitle;

/// 显示属性文本 居右显示
@property(nonatomic,copy,nullable)NSAttributedString* attrSubtitle;

/// 默认 COLOR_BLACK_DARK
@property(nonatomic,strong)UIColor* subtitleColor;

/// 默认 FONT_FIT(14)
@property(nonatomic,strong)UIFont* subtitleFont;

/// 分割线 默认显示
@property(nonatomic,assign)BOOL showSeparator;

/// 分割线默认UIEdgeInsetsMake(0, 20, 0, 0)
@property(nonatomic,assign)UIEdgeInsets separatorInset;

/// 是否可点击 默认可点击 可点击 则显示箭头
@property(nonatomic,assign)BOOL clickable;

/// 点击回调
@property(nonatomic,copy)VoidBlock clickBlock;

/// -
/// @param title 标题
+ (instancetype)cellWithTitle:(NSString *)title;
@end

NS_ASSUME_NONNULL_END
